package com.example.mall.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.mall.domain.PaymentRecords;
import com.example.mall.dto.PaymentRecordsDto;
import com.example.mall.query.PageDTO;
import com.example.mall.query.PaymentRecordsQuery;

import java.util.List;


/**
 * <p>
 * 支付记录表 服务类
 * </p>
 *
 * @author whale
 * @since 2025-05-09
 */
public interface IPaymentRecordsService extends IService<PaymentRecords> {

    //分页查询支付记录表信息
    PageDTO<PaymentRecordsDto> queryPage(PaymentRecordsQuery paymentRecordsQuery);

    //根据id查询支付记录表信息
    PaymentRecords queryPaymentRecordsById(Long paymentId);

    //查询全部支付记录表信息
    List<PaymentRecords> queryPaymentRecordsList();

    //新增支付记录表
    void insert(PaymentRecordsDto paymentRecordsDto);

    //修改支付记录表信息
    void update(PaymentRecordsDto paymentRecordsDto);

    //删除支付记录表信息
    void delete(Long paymentId);

    //批量删除支付记录表信息
    void deleteBatch(List<Long> paymentIds);
}
